<?php
class Lapnhom extends AppModel {

	var $name = 'Lapnhom';

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
		'Monhoc' => array(
			'className' => 'Monhoc',
			'foreignKey' => 'monhoc_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Giaovien' => array(
			'className' => 'Giaovien',
			'foreignKey' => 'giaovien_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Hknk' => array(
			'className' => 'Hknk',
			'foreignKey' => 'hknk_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

	var $hasOne = array(
		'Huongdan' => array(
			'className' => 'Huongdan',
			'foreignKey' => 'lapnhom_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Nhomth' => array(
			'className' => 'Nhomth',
			'foreignKey' => 'lapnhom_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

	var $hasMany = array(
		'Huongdan' => array(
			'className' => 'Huongdan',
			'foreignKey' => 'lapnhom_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		),
		'Nhomth' => array(
			'className' => 'Nhomth',
			'foreignKey' => 'lapnhom_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		)
	);

}
?>